package com.accp.demo.mapper.finance;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.accp.demo.pojo.finance.CustomerCredit;

/**
 * 客户账款明细表
 * @author Administrator
 *
 */
public interface CustomerCreditMapper {
			
	
	//新增客户账款明细记录
	void insert(CustomerCredit customerCredit);
	//删除客户账款明细记录
	void deleteBy(@Param("customerNo")String customerNo,@Param("orderForm")int orderForm,@Param("orderNoForm")String orderNoForm);
	//根据编号删除客户账款明细记录
	void delete(@Param("infoId")int infoId);
	//更新客户账款明细记录
	void update(CustomerCredit customerCredit);
	//根据客户编号查询客户账款明细记录
	CustomerCredit findBy(@Param("customerNo")String customerNo);
	//分页条件查询客户账款明细记录
	List<CustomerCredit> findByPage(Map<String,Object> map);
}
